package com.yonyou.gulimall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yonyou.common.to.SkuHasStockVo;
import com.yonyou.common.utils.PageUtils;
import com.yonyou.gulimall.ware.entity.WmsWareSkuEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品库存
 *
 * @author sunzhongshun
 * @email zhongshun_sun@126.com
 * @date 2021-10-11 14:30:38
 */
public interface WmsWareSkuService extends IService<WmsWareSkuEntity> {

    void addStock(Long skuId, Long wareId, Integer skuNum);

    List<SkuHasStockVo> getSkuHasStocks(List<Long> ids);

    /***********************************************/
    PageUtils queryPage(Map<String, Object> params);

}

